{extend name="public/base" /}

{block name="body"}		
		<div class="global_bg" style="background: url(UPLOADS/{$term.parent.tag.bgimg}) no-repeat top center; width: 100%;min-height: 1028px; height: auto;overflow: hidden; position: absolute; top: 100px;">
			<div class="gloabl_con">
				<div class="comn_title">{$term.parent.name}</div>
				<div class="mainbox">
					<div class="mmsj_list">
						
						<div id="mmtab">
    
						    <div class="mmnav">
						        <ul>
						            {foreach $term['parent']['child'] as $key => $t}
										<a href="{$t.url}"><li {if isset($term['address'][$t['id']]) }class="active"{/if}><span {if current($t) === end($t)}style="border: none;"{/if}>{$t.name}</span></li></a>	
									{/foreach}
						            
						        </ul>
						      
						    </div>
						    <div class="news_content">
						        <div class="recbox" style="display:block; background: url(images/recbg.png) no-repeat right top;">
						          
						            <div class="rec_list">
							            	<ul>
											<?php if($term['parent']['id'] == 32){?>
												{foreach $term.content.page_page.limit_10 as $k => $c}
													<?php
														$page = I('?get.page')?I('get.page'):1;
														?>
														{if($page == 1)}
															{if ($c['top_ok'] == 1) }
															<a href="{$c.url}"><li><span class="icoimg">■</span> {$c.name} <span class="jiimg"></span></li></a>
															{else /}
															<a href="{$c.url}"><li><span class="icoimg">■</span> {$c.name}</li></a>
															{/if}
														{else /}	
															<a href="{$c.url}"><li><span class="icoimg">■</span> {$c.name}</li></a>
														{/if}	
												{/foreach}
											<?php }else{?>
												{foreach $term.content.page_page.limit_10 as $k => $c}
													<a href="{$c.url}"><li><span class="icoimg">■</span> {$c.name}</li></a>
												{/foreach}	
											<?php }; ?>	
								            </ul>
						            </div>
						            <div class="rg_menu">
									<!-- <p>	<span class="zptu1"><img src="UPLOADS/{$term.tag.bgimgo}" /></span></p>
									<p><span class="zptu2"><img src="UPLOADS/{$term.tag.bgimgt}" /></span></p>
									<p><span class="zptu3"><img src="UPLOADS/{$term.tag.bgimgs}" /></span></p>
									{foreach $term.content.page_none.rec as $k => $c}
						            	
										{if ($k == 0)}
						            		<p>
						            		<a href="{$c.url}"><span class="ipoint1">{$c.name|msubstr=0,9}=</span></a>

						            	</p>
										
										{elseif ($k == 1)}
						            		<p><a href="{$c.url}">
						            		<span class="ipoint2">{$c.name|msubstr=0,9}</span>
						            	</a></p>
										{elseif ($k == 2)}
						            		<p>
						            		<a href="{$c.url}"><span class="ipoint1">{$c.name|msubstr=0,9}</span></a>
						            	    
											
						            	</p>
										
										{else /}
						            		<p><a href="{$c.url}">
						            		<span class="ipoint2">{$c.name|msubstr=0,9}</span>
						            	</a></p>
										{/if}
						            		
						            {/foreach} -->
									    <p>	<span class="zptu1"><img src="UPLOADS/{$term.tag.bgimgo}" /></span></p>
										<p><span class="zptu2"><img src="UPLOADS/{$term.tag.bgimgt}" /></span></p>
										<p><span class="zptu3"><img src="UPLOADS/{$term.tag.bgimgs}" /></span></p>
									{foreach $term.content.page_none.rec as $k => $c}
						            	
										{if ($k == 0)}
						            		<p>
												<a href="{$c.url}"><span class="ipoint1">{$c.name|msubstr=0,9}</span></a>
											</p>
										{elseif ($k == 1)}
						            		<p><a href="{$c.url}">
												<span class="ipoint2">{$c.name|msubstr=0,9}</span>
											</a></p>
										{elseif ($k == 2)}
						            		<p>
												<a href="{$c.url}"><span class="ipoint3">{$c.name|msubstr=0,9}</span></a>
											</p>
										
										{else /}
						            		<p><a href="{$c.url}">
												<span class="ipoint4">{$c.name|msubstr=0,9}</span>
											</a></p>
										{/if}	
						            {/foreach} 
						            </div>
						            <div class="page_news">
										{Wh:page count="$term['content']['limit_10']['pageCount']"}
											{if ($p.type == 'last')}
												<a  href="{$p.url}"><span>上一页</span></a>
											{elseif ($p.type == 'next')}
												<a  href="{$p.url}"><span>下一页</span></a>
											{else /}		
												<a  href="{$p.url}"><span {if ($p.in)} class="on" {/if} >{$p.text}</span></a>
											{/if}	
										{/Wh:page}
											
										
									</div>
						        </div>
						        
						            
						        </div>
						        
						        
						    </div>
						    
						   
						    
						</div>
					</div>
					
					
				</div>
			
{/block}		